<algorithm> no longer needs to include <cstdlib>, but can get away with just <cstddef>. This was brought to my attention by Salvatore Benedetto in his port to a bare-metal coretex-m3. This exposed two test bugs where an explicit #include <cstdlib> was needed. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@160786 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/algorithm b/include/algorithm index d924a7d..67e1101 100644 --- a/include/algorithm +++ b/include/algorithm
@@ -593,7 +593,7 @@ #include <utility> #include <memory> #include <iterator> -#include <cstdlib> +#include <cstddef> #include <__undef_min_max>